import React from 'react'
import { Tabs } from 'antd';
import type { TabsProps } from 'antd';
import './wrok2.css'
import Moban1 from '../moban/Moban1';
import Moban2 from '../moban/Moban2';
function Wrok2() {
    const onChange = (key: string) => {
  console.log(key);
};
    const items: TabsProps['items'] = [
  {
    key: '1',
    label: '推荐模版',
    children: <Moban1></Moban1>,
  },
  {
    key: '2',
    label: '我的模版',
    children: <Moban2></Moban2>,
  }
];
  return (
    <div>
      <input className='inp2' type="text" placeholder='一句话描述想要的模版内容'/>
      <img className='inp2-fangda' src={require('../../../images/fangdajing.png')} alt="" />
      <div><Tabs defaultActiveKey="1" items={items} onChange={onChange} /></div>
    </div>
    
  )
}

export default Wrok2
